#define _CRT_SECURE_NO_WARNINGS
#pragma once
#include <stdio.h>
#include <malloc.h>
#include <assert.h>

#define ElemType char

typedef struct TreeNode {
	ElemType data;
	struct TreeNode *fristChild,*nextSibling;
}TreeNode;

typedef struct Tree {
	TreeNode *root;
	ElemType refvalue;
}Tree;